package com.bw.kotlindemo.java.model.bean;

import java.util.List;

/**
 * desc:
 * create by xushaodong on 2023/4/7
 */
public class LiveGiftListBean {


    /**
     * result : [{"createTime":1576506722000,"giftId":1,"imageUrl":"http://mobile.bwstudent.com/images/live/gift/ice_cream.png","name":"小雪糕","price":10},{"createTime":1576506722000,"giftId":2,"imageUrl":"http://mobile.bwstudent.com/images/live/gift/flower.png","name":"玫瑰花","price":60},{"createTime":1576506722000,"giftId":3,"imageUrl":"http://mobile.bwstudent.com/images/live/gift/microphone.png","name":"金话筒","price":300},{"createTime":1576506722000,"giftId":4,"imageUrl":"http://mobile.bwstudent.com/images/live/gift/ship.png","name":"爱的巨轮","price":980},{"createTime":1576506722000,"giftId":5,"imageUrl":"http://mobile.bwstudent.com/images/live/gift/castle.png","name":"真爱城堡","price":1280}]
     * message : 查询成功
     * status : 0000
     */

    private String message;
    private String status;
    private List<ResultBean> result;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * createTime : 1576506722000
         * giftId : 1
         * imageUrl : http://mobile.bwstudent.com/images/live/gift/ice_cream.png
         * name : 小雪糕
         * price : 10
         */

        private long createTime;
        private int giftId;
        private String imageUrl;
        private String name;
        private int price;

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public int getGiftId() {
            return giftId;
        }

        public void setGiftId(int giftId) {
            this.giftId = giftId;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        @Override
        public String toString() {
            return "ResultBean{" +
                    "createTime=" + createTime +
                    ", giftId=" + giftId +
                    ", imageUrl='" + imageUrl + '\'' +
                    ", name='" + name + '\'' +
                    ", price=" + price +
                    '}';
        }
    }
}
